home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1999 February
/
EnigmA AMIGA RUN 34 (1999)(G.R. Edizioni)(IT)[!][issue 1999-02].iso
/
earcd
/
-recent3
/
storm_flexcat.lha
/
Storm_FlexCat
/
FlexCat.srx
< prev
next >
Wrap
Text File
|
1999-02-17
|
677b
|
24 lines
/*
FlexCat.srx
created by Christian Hattemer
chris@mail.riednet.wh.tu-darmstadt.de
Compile a catalog description file to C source and header files.
$VER FlexCat.srx 1.1 (26.01.99)
*/
/* Don't forget the point '.' at the end \/ */
PARSE ARG '"' Filename '"' '"' Projectname '"' .
Projname = SUBSTR(Projectname,LASTPOS('/',Projectname)+1)
Include = LEFT(Projname,LASTPOS('.¶',Projname)-1)||"_Cat.h"
/* set object file of catalog file */
OBJECTS filename 'Locale.c' Include
/* compile */
ADDRESS COMMAND "StormC:FlexCat/FlexCat "||Filename||" Locale.c=C_c.sd"
ADDRESS COMMAND "StormC:FlexCat/FlexCat "||Filename||" "||Include||"=C_h.sd"